package com.lxb.educenter.service;

import com.lxb.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxb.educenter.entity.dto.LoginDto;
import com.lxb.educenter.entity.dto.RegisterDto;

/**
 * 登录、注册 服务类
 *
 * @author lixuebin
 * @since 2022-12-20
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(LoginDto loginDto);

    void register(RegisterDto registerDto);

    UcenterMember getByOpenid(String openid);

    void updateByOpenid(UcenterMember member);

    Integer CountRegister(String day);
}
